import request from '@/utils/request'

// 开票内容分页
export function pageInvoiceContent(query) {
  return request({
    url: '/invoice/invoiceContent/paging',
    method: 'get',
    params: query
  })
}

// 开票内容保存
export function saveInvoiceContent(data) {
  return request({
    url: '/invoice/invoiceContent/save',
    method: 'post',
    data: data
  })
}

// 批量删除
export function deleteInvoiceContent(data) {
  return request({
    url: '/invoice/invoiceContent/batchDelete',
    method: 'post',
    data: data
  })
}

// 开票内容列表
export function getInvoiceContentList(query) {
  return request({
    url: '/invoice/invoiceContent/getInvoiceContentList',
    method: 'get',
    params: query
  })
}
